﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shop.Model.Entity.Use
{
    /// <summary>
    /// 用户合同
    /// </summary>
    [SugarTable("use_user_contract")]
    public class UserContract : BaseEntity
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 合同
        /// </summary>
        public string Contract { get; set; }

        /// <summary>
        /// 身份证
        /// </summary>
        public string IDCard { get; set; }

        /// <summary>
        /// 身份证背面
        /// </summary>
        public string IDCardBack { get; set; }

        /// <summary>
        /// 状态
        /// -1：无效
        /// 0：审核中
        /// 1：有效
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(IsOnlyIgnoreInsert = true)]
        public DateTime CreatTime { get; set; }
    }
}
